﻿<%@ Page Title="Accountant" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Accountant.aspx.cs" Inherits="SquidConsult.UI.Accountant._default" %>
<%@ Register src="../Controls/RolesForUser.ascx" tagname="RolesForUser" tagprefix="ctl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

    .style6
    {
        width: 36px;
        height: 52px;
    }
    .style1
    {
        font-size: x-large;
        text-align: center;
        width: 851px;
        height: 52px;
    }
    .style7
    {
        height: 52px;
    }
    .style2
    {
        width: 36px;
    }
    .style3
    {
        width: 851px;
    }
    .style5
    {
        width: 437px;
            height: 30px;
        }
    .style8
    {
        font-size: medium;
    }
    .style4
    {
        width: 690px;
    }
        .style9
        {
            height: 30px;
        }
        .style10
        {
            width: 690px;
            height: 30px;
        }
        .style11
        {
            height: 155px;
        }
        .style12
        {
            width: 690px;
            height: 155px;
        }
        .style13
        {
            height: 30px;
            width: 8px;
        }
        .style14
        {
            height: 155px;
            width: 8px;
        }
        .style15
        {
            width: 8px;
        }
        .style16
        {
            width: 690px;
            height: 30px;
            font-size: medium;
        }
        .style17
        {
            width: 437px;
            height: 30px;
            font-size: medium;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Accountant Page</h1>
  <table style="width:100%;">
      <tr>
          <td class="style6">
          </td>
          <td class="style1">
              Company Expense Reports</td>
          <td class="style7">
          </td>
      </tr>
      <tr>
          <td class="style2">
              &nbsp;</td>
          <td class="style3">
              <table style="width: 100%; margin-left: 3px;">
                  <tr>
                      <td class="style13">
                          </td>
                      <td class="style5">
                          <span class="style8">Company Total Expense:</span> $<asp:Label 
                              ID="ExpenseLabel" runat="server" Font-Size="Medium"></asp:Label>
                      </td>
                      <td class="style10">
                          <span class="style8">Company Buget Remain: $</span><asp:Label ID="BugetLabel" 
                              runat="server" Font-Size="Medium" CssClass="style8"></asp:Label>
                      </td>
                      <td class="style9">
                          </td>
                  </tr>
                  <tr>
                      <td class="style13">
                          &nbsp;</td>
                      <td class="style17">
                          Supervisor Name:&nbsp;&nbsp;
                          <asp:DropDownList ID="SupervisorNameDropDownList" runat="server" AutoPostBack="True" 
                              onselectedindexchanged="SupervisorNameDropDownList_SelectedIndexChanged">
                          </asp:DropDownList>
                      </td>
                      <td class="style16">
                          &nbsp;Individual Supervisor Total Approved:&nbsp; $<asp:Label 
                              ID="SupervisorTotalExpenseLabel" runat="server">0</asp:Label>
                      </td>
                      <td class="style9">
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td class="style14">
                          </td>
                      <td class="style12" colspan="2">
                          <asp:Label ID="LoadErrorLabel" runat="server"></asp:Label>
                          <br />
                          <asp:GridView ID="ReportGridView" runat="server" 
                              AutoGenerateSelectButton="True" onrowcreated="ReportGridView_RowCreated" 
                              onselectedindexchanged="ReportGridView_SelectedIndexChanged">
                          </asp:GridView>
                          <br class="style8" />
                          <asp:Panel ID="ChangeStatusPanel" runat="server" Height="46px" Visible="False" 
                              Width="318px" CssClass="style8">
                              <asp:Label ID="ChangeStatusLabel" runat="server" Text="Change Status: " 
                                  style="font-size: medium"></asp:Label>
                              &nbsp;&nbsp;&nbsp;&nbsp;<asp:DropDownList ID="StatusDropDownList" runat="server" 
                                  style="font-size: medium">
                                  <asp:ListItem>OnGoing</asp:ListItem>
                                  <asp:ListItem>Approved</asp:ListItem>
                                  <asp:ListItem>Reject</asp:ListItem>
                              </asp:DropDownList>
                              &nbsp;&nbsp;
                              <asp:Button ID="UpdateButton" runat="server" style="font-size: medium" 
                                  Text="Confirm" onclick="UpdateButton_Click" />
                          </asp:Panel>
                          <br />
                          <asp:GridView ID="ExpenseGridView" runat="server" 
                              AutoGenerateSelectButton="True" onrowcreated="ReportGridView_RowCreated" 
                              onselectedindexchanged="ExpenseGridView_SelectedIndexChanged">
                          </asp:GridView>
                          <br />
                          <asp:Panel ID="DownloadPanel" runat="server" Height="45px" Visible="False" 
                              Width="399px" CssClass="style8">
                              <asp:Label ID="ReceiptLabel" runat="server" Text="Receipt: " 
                                  style="font-size: medium"></asp:Label>
                              &nbsp;
                              <asp:Button ID="DownloadButton" runat="server" style="font-size: medium" 
                                  Text="Download" onclick="DownloadButton_Click" />
                              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                              <asp:Label ID="ErrorLabel" runat="server"></asp:Label>
                          </asp:Panel>
                          <br />
                      </td>
                      <td class="style11">
                          </td>
                  </tr>
                  <tr>
                      <td class="style15">
                          &nbsp;</td>
                      <td class="style4" colspan="2">
                          &nbsp;</td>
                      <td>
                          &nbsp;</td>
                  </tr>
              </table>
          </td>
          <td>
              &nbsp;</td>
      </tr>
      <tr>
          <td class="style2">
              &nbsp;</td>
          <td>
              &nbsp;</td>
      </tr>
</table>
</asp:Content>
